package org.dxy.api.dto.request.mbom;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;

/**
 * 从EBOM同步MBOM请求DTO
 * @author dxy
 * @createTime 2025/9/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SyncMBOMFromEBOMRequest {
    
    /** EBOM ID */
    @NotNull(message = "EBOM ID不能为空")
    private Long ebomId;
    
    /** EBOM版本 */
    @NotBlank(message = "EBOM版本不能为空")
    private String ebomVersion;
    
    /** 产品ID */
    @NotNull(message = "产品ID不能为空")
    private Long productId;
}